package de.greenrobot.daoexample.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by squall on 2016/5/30.
 */
public class ActiveUser implements Serializable {

    private String uid;
    private String uname;
    private String avatar;
    private String followstate;
    private String follower;
    private String post_count;
    private String post_num;
    private String count;
    private boolean is_title;
    private String type;
    private int index;

    private List<UserPost> posts=new ArrayList<>();

    public String getPost_num() {
        return post_num;
    }

    public String getCount() {
        return count;
    }

    public void setPost_num(String post_num) {
        this.post_num = post_num;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getPost_count() {
        return post_count;
    }

    public String getFollower() {
        return follower;
    }

    public void setFollower(String follower) {
        this.follower = follower;
    }

    public void setPost_count(String post_count) {
        this.post_count = post_count;
    }

    public String getUid() {
        return uid;
    }

    public String getUname() {
        return uname;
    }

    public String getAvatar() {
        return avatar;
    }


    public List<UserPost> getPosts() {
        return posts;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getFollowstate() {
        return followstate;
    }

    public void setFollowstate(String followstate) {
        this.followstate = followstate;
    }

    public void setPosts(List<UserPost> posts) {
        this.posts = posts;
    }

    public boolean is_title() {
        return is_title;
    }

    public void setIs_title(boolean is_title) {
        this.is_title = is_title;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public class UserPost{
        private String cp_id;
        private String rp_id;
        private String dp_id;
        private String wp_id;
        private String cover;
        private String title;
        private String plain;
        private String work;

        public String getCp_id() {
            return cp_id;
        }

        public String getRp_id() {
            return rp_id;
        }

        public String getDp_id() {
            return dp_id;
        }

        public String getWp_id() {
            return wp_id;
        }

        public String getCover() {
            return cover;
        }


        public void setCp_id(String cp_id) {
            this.cp_id = cp_id;
        }

        public void setRp_id(String rp_id) {
            this.rp_id = rp_id;
        }

        public void setDp_id(String dp_id) {
            this.dp_id = dp_id;
        }

        public void setWp_id(String wp_id) {
            this.wp_id = wp_id;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPlain() {
            return plain;
        }

        public void setPlain(String plain) {
            this.plain = plain;
        }

        public String getWork() {
            return work;
        }

        public void setWork(String work) {
            this.work = work;
        }
    }

    public ActiveUser(String type) {
        this.type = type;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public ActiveUser() {
    }
}
